﻿using System;

namespace Sharp.Platform.Mvc
{
    /// <summary>
    /// 权限标识
    /// </summary>
    public class PermissionAttribute : System.Attribute
    {
        public PermissionAttribute()
        {
            this.Category = "02";
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 上级
        /// </summary>
        public string Parent { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public string Category { get; set; }
    }
}
